/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.stock.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.stock.entity.StockWarehouse;
import com.thinkgem.jeesite.modules.stock.dao.StockWarehouseDao;

/**
 * 仓库库存Service
 * @author 仓库库存
 * @version 2019-12-29
 */
@Service
@Transactional(readOnly = true)
public class StockWarehouseService extends CrudService<StockWarehouseDao, StockWarehouse> {

	public StockWarehouse get(String id) {
		return super.get(id);
	}
	
	public List<StockWarehouse> findList(StockWarehouse stockWarehouse) {
		return super.findList(stockWarehouse);
	}
	
	public Page<StockWarehouse> findPage(Page<StockWarehouse> page, StockWarehouse stockWarehouse) {
		return super.findPage(page, stockWarehouse);
	}
	
	@Transactional(readOnly = false)
	public void save(StockWarehouse stockWarehouse) {
		super.save(stockWarehouse);
	}
	
	@Transactional(readOnly = false)
	public void delete(StockWarehouse stockWarehouse) {
		super.delete(stockWarehouse);
	}
	
}